<input type="checkbox" id="<?php echo $id; ?>" name="<?php echo $id; ?>"<?php 
if ($disabled) echo ' disabled="disabled"';
if (isset($value) && $value) echo ' checked="checked"';
echo $this->attr($attr); ?>/>